class Stusigndto {
  int code;
  String msg;
  List<DataBean> data;

  static Stusigndto fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    Stusigndto stusigndtoBean = Stusigndto();
    stusigndtoBean.code = map['code'];
    stusigndtoBean.msg = map['msg'];
    stusigndtoBean.data = List()..addAll(
      (map['data'] as List ?? []).map((o) => DataBean.fromMap(o))
    );
    return stusigndtoBean;
  }

  Map toJson() => {
    "code": code,
    "msg": msg,
    "data": data,
  };
}

/// signDay : "2020-02-05 14:36:10"
/// isSign : false

class DataBean {
  String courseName;
  String signDay;
  bool isSign;

  static DataBean fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    DataBean dataBean = DataBean();
    dataBean.courseName = map['courseName'];
    dataBean.signDay = map['signDay'];
    dataBean.isSign = map['isSign'];
    return dataBean;
  }

  Map toJson() => {
    "courseName": courseName,
    "signDay": signDay,
    "isSign": isSign,
  };
}